package com.woniu.coupon.feign;

import com.woniu.user.domain.CustomerCoupon;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("user")
public interface CustomerFeign {

    @RequestMapping("/user/tbcustomercoupon/feign/getCustomerCoupon")
    public List<Integer> getCustomerCoupon(@RequestParam("customerId") Integer customerId);
}
